{include file='header' title='安装程序协议' /}
<style type="text/css">
	.conts{ margin: 0 auto;}
	.jleft{text-align: left;}
</style>
<div class="container">
<div class="row conts">
    <form action="" method="post" target="_self">
        <div class="col-xs-12 form-horizontal text-left">
            <div  class="form-group">
                <label class="col-sm-2 control-label"></label>
                <div class="col-sm-10"><h2>数据库信息</h2></div>
            </div> 

            <div class="form-group" '>
                <label class=" col-sm-2 control-label">数据库类型</label>
                <div class="col-sm-10">
                    <select class="form-control" name="db[]">
                        <option>mysql</option>
                    </select>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">数据库地址</label>
                <div class="col-sm-10">
                    <input class="form-control" type="text" name="db[]" value="127.0.0.1">
                </div>

            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">数据库名</label>
                <div class="col-sm-10">
                    <input class="form-control" type="text" name="db[]" value="fmg">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">数据库用户名</label>
                <div class="col-sm-10">
                    <input class="form-control" type="text" name="db[]" value="root">
                </div>
            </div>
            <div  class="form-group">
                <label class="col-sm-2 control-label">数据库密码</label>
                <div class="col-sm-10">
                    <input class="form-control" type="text" name="db[]" value="">
                </div>
            </div>
            <div  class="form-group">
                <label class="col-sm-2 control-label">数据库端口</label>
                <div class="col-sm-10">
                    <input class="form-control" type="text" name="db[]" value="3306">
                </div>
            </div>
            <div  class="form-group">
                <label class="col-sm-2 control-label">数据表前缀</label>
                <div class="col-sm-10">
                    <input class="form-control" type="text" name="db[]" value="fmg_">
                </div>
        </div>

        <div class="col-xs-12 form-horizontal">
            <div  class="form-group">
                <label class="col-sm-2 control-label"></label>
                <div class="col-sm-10"><h2>创始人帐号信息</h2></div>
            </div>
            <div  class="form-group">
                <label class="col-sm-2 control-label">用户名</label>
                <div class="col-sm-10">
                    <input class="form-control" type="text" name="admin[]" value="admin">
                </div>
            </div>
            <div  class="form-group">
                <label class="col-sm-2 control-label">密码</label>
                <div class="col-sm-10">
                    <input class="form-control" type="password" name="admin[]" value="">
                </div>
            </div>
            <div  class="form-group">
                <label class="col-sm-2 control-label">确认密码</label>
                <div class="col-sm-10">
                    <input class="form-control" type="password" name="admin[]" value="">
                </div>
            </div>
            <div  class="form-group">
                <label class="col-sm-2 control-label">邮箱</label>
                <div class="col-sm-10">
                    <input class="form-control" type="text" name="admin[]" value="">
                </div>
            </div>            
        </div>
    </form>

<div class="col-sm-12 text-center">
    <a class="btn btn-success btn-large" href="{:url('Index/index')}">上一步</a>
    <input type="submit" class="btn btn-primary btn-large" value="安装">
</div>
</div>
</div>
{include file='footer'}